/**
  * Title: XELOPES Data Mining Library
  * Description: The XELOPES library is an open platform-independent and data-source-independent library for Embedded Data Mining.
  * Copyright: Copyright (c) 2002-2005 prudsys AG. All Rights Reserved.
  * License: Use is subject to XELOPES license terms.
  * @author Stefan Ludwig
  * @version 1.0
  */

package org.rescue.Dag;

import java.util.Vector;

/**
 * Implementation of a simple vector of integers
 * derived from java.util.Vector.
 *
 * @author Stefan Ludwig
 * @author Michael Thess
 * @version 1.1, 2001/07/07
 */
public class IntVector extends Vector {

 public IntVector() {
    super();
 }

 public IntVector(int initialCapacity) {
	super(initialCapacity);
 }

 public void addElement(int element)
  { super.addElement(new Integer(element)); }

 public boolean contains(int element)
  { return super.contains(new Integer(element)); }

 public int indexOf(int element)
  { return super.indexOf(new Integer(element)); }

 public int indexOf(int element, int index)
  { return super.indexOf(new Integer(element), index); }

 public int lastIndexOf(int element)
  { return super.lastIndexOf(new Integer(element)); }

 public int IntegerAt(int index)                          // instead of ElementAt()
  { return ((Integer)super.elementAt(index)).intValue(); }

 public void setElementAt(int element, int index)
  { super.setElementAt(new Integer(element), index); }

 public void insertElementAt(int element, int index)
  { super.insertElementAt(new Integer(element), index); }

 public boolean removeElement(int element)
  { return super.removeElement(new Integer(element)); }

}
